.banner {
  width: 100%;
  height: 400px;
  line-height: 400px;
  background-image: url(./images/banner.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  text-align: center;
}
.banner p{
  display: inline-block;
  font-size: 26px;
  color: #fff;
  margin: 0;
  padding-left: 40px;
  transform: skew(0, -10deg);
  animation-name: rotateIn;
  animation-delay: 0.5s;
  animation-duration: 1s;
}

@keyframes rotateIn {
  from {
    transform-origin: center;
    transform: rotate3d(0, 0, 1, 200deg);
    opacity: 0;
  }
  to {
    transform: rotate3d(0, 0, 0);
    opacity: 1;
  }
}
@media screen and (max-width: 768px) {
  .banner {
    height: 300px;
    line-height: 300px;
  }
}

@media screen and (max-width: 375px) {
  .banner {
    height: 200px;
    line-height: 200px;
  }
  .banner p {
    transform: skew(0);
    padding: 0;
  }
}